﻿using Ledict.ConditionExtract.DAL;
using Ledict.ConditionExtract.Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ledict.ConditionExtract.BLL
{
    public class ReturnModeBLL
    {
        ReturnModeDAL dal = new ReturnModeDAL();

        /// <summary>
        /// 增加ReturnMode表数据
        /// </summary>
        public bool ReturnModeAdd(ReturnMode model)
        {
            return dal.ReturnModeAdd(model);
        }
        /// <summary>
        /// 删除ReturnMode表数据
        /// </summary>
        public bool ReturnModeDelete(string rmId)
        {
            return dal.ReturnModeDelete(rmId);
        }
        /// <summary>
        /// 修改ReturnMode表数据
        /// </summary>
        public bool ReturnModeUpdate(ReturnMode model)
        {
            return dal.ReturnModeUpdate(model);
        }

        /// <summary>
        /// 获取ReturnMode表数据
        /// </summary>
        public DataTable GetReturnModeData(string rmId)
        {
            return dal.GetReturnModeData(rmId);
        }
    }
}
